<%= semantic_form_for @search do |f| %>
<%= f.inputs "Search condition" , :class=>"search-form" do %>
<%= f.input :group_id_eq ,:as=> :select ,:collection => Group.find(:all) , :required => false %>
<%= f.input :permission_id_eq ,:as=> :select ,:collection => Permission.find(:all) ,:required => false %>
<% end %>

<%= f.commit_button "Search" , :button_html => { :class => "search-button", :disable_with => 'Searching...' } %>
<% end %>